#include "interface.h"

DECLARE_DRAWABLE_BEGIN(Triangles, Triangles)
  virtual void render() override {
    glBegin(GL_TRIANGLES);
    glColor3f(1.0f,0.0f,0.0f);
    glVertex3f(0.0f,1.0f,0.0f);
    glColor3f(0.0f,1.0f,0.0f);
    glVertex3f(-1.0f,0.0f,0.0f);
    glColor3f(0.0f,0.0f,1.0f);
    glVertex3f(1.0f,0.0f,0.0f);
    glEnd();
    glFlush();
  };
DECLARE_DRAWABLE_END(Triangles)